package com.wei.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 库存
 * @author weichuanyuan
 * @version 1.0
 * @date 2021/8/28 21:53
 */
@Data
@EqualsAndHashCode
@NoArgsConstructor
public class Storage  implements Serializable {
    /**
     * 产品ID
     */
    @TableId(value="tc_product_id",type = IdType.AUTO )
    private Integer productId;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 产品数量
     */
    private BigDecimal productNumber;
}
